package com.mail.anteater.bean;

public enum Order {
	ASC,
	DESC,
	UNDEFINED;
	
	public static Order getStorable(String ord) {
		Order order = null;
		try {
			order = Order.valueOf(ord.toUpperCase());
		} catch (IllegalArgumentException ex) {
			order = Order.UNDEFINED;
		}
		return order;
	}
}
